@import '../../styles/var.less';

.box {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.empty {
  // width: 200px;
  // height: 200px;
  // background-image: url('../../assets/no-data.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.errorBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.error {
  width: 200px;
  height: 200px;
  // background-image: url('../../assets/error.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.errorText {
  font-size: 14px;
  color: var(--color-error);
  text-align: center;
  transform: translateY(-20px);
  white-space: pre-wrap;
}

.successBox {
  .errorBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  // .success {
  //   width: 200px;
  //   height: 200px;
  //   background-image: url('../../assets/error.png');
  //   background-size: cover;
  //   background-repeat: no-repeat;
  // }

  .successText {
    font-size: 14px;
    color: var(--success-color);
    text-align: center;
    transform: translateY(-20px);
  }
}
